.class public Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;
.super Landroid/widget/BaseExpandableListAdapter;
.source "CommunityAppRankingAdapter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;
    }
.end annotation


# instance fields
.field protected inflater:Landroid/view/LayoutInflater;

.field private mActivity:Landroid/app/Activity;

.field protected mHandler:Landroid/os/Handler;

.field protected mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field protected mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

.field private mRankingAppCategoryModels:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/app/Activity;Ljava/util/ArrayList;)V
    .registers 6
    .param p1, "activity"    # Landroid/app/Activity;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;",
            ">;)V"
        }
    .end annotation

    .prologue
    .local p2, "rankingAppCategoryModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;>;"
    const v2, 0x7f0201c5

    const/4 v1, 0x1

    .line 42
    invoke-direct {p0}, Landroid/widget/BaseExpandableListAdapter;-><init>()V

    .line 43
    iput-object p1, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mActivity:Landroid/app/Activity;

    .line 44
    iput-object p2, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mRankingAppCategoryModels:Ljava/util/ArrayList;

    .line 45
    invoke-virtual {p1}, Landroid/app/Activity;->getLayoutInflater()Landroid/view/LayoutInflater;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->inflater:Landroid/view/LayoutInflater;

    .line 47
    new-instance v0, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    invoke-direct {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;-><init>()V

    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 48
    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->resetViewBeforeLoading(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheInMemory(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheOnDisc(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;->EXACTLY:Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;

    .line 49
    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->imageScaleType(Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->bitmapConfig(Landroid/graphics/Bitmap$Config;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    new-instance v1, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;

    invoke-direct {v1}, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;-><init>()V

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->displayer(Lcom/nostra13/universalimageloader/core/display/BitmapDisplayer;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    .line 50
    invoke-static {}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 52
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mHandler:Landroid/os/Handler;

    .line 53
    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;)Landroid/app/Activity;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;

    .prologue
    .line 33
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mActivity:Landroid/app/Activity;

    return-object v0
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;Lcom/brixd/niceapp/community/model/RankingAppModel;)V
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;
    .param p1, "x1"    # Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;
    .param p2, "x2"    # Lcom/brixd/niceapp/community/model/RankingAppModel;

    .prologue
    .line 33
    invoke-direct {p0, p1, p2}, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->trackRankAppClickEvent(Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;Lcom/brixd/niceapp/community/model/RankingAppModel;)V

    return-void
.end method

.method private parseViews(Landroid/view/View;)Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;
    .registers 4
    .param p1, "convertView"    # Landroid/view/View;

    .prologue
    .line 165
    new-instance v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;-><init>(Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;)V

    .line 166
    .local v0, "holder":Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;
    const v1, 0x7f0a00c5

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->convertView:Landroid/view/View;

    .line 167
    const v1, 0x7f0a0084

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->appIconImage:Landroid/widget/ImageView;

    .line 168
    const v1, 0x7f0a00c6

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->rankingPosTxt:Landroid/widget/TextView;

    .line 169
    const v1, 0x7f0a003a

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->appNameTxt:Landroid/widget/TextView;

    .line 170
    const v1, 0x7f0a00c7

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->dividerImage:Landroid/widget/ImageView;

    .line 171
    return-object v0
.end method

.method private trackRankAppClickEvent(Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;Lcom/brixd/niceapp/community/model/RankingAppModel;)V
    .registers 9
    .param p1, "rankingAppCategoryModel"    # Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;
    .param p2, "rankingAppModel"    # Lcom/brixd/niceapp/community/model/RankingAppModel;

    .prologue
    .line 157
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v2

    .line 158
    .local v2, "user":Lcom/brixd/niceapp/model/UserModel;
    if-nez v2, :cond_1b

    const/4 v3, 0x0

    .line 159
    .local v3, "userId":I
    :goto_7
    iget-object v4, p1, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;->rankingName:Ljava/lang/String;

    iget v5, p2, Lcom/brixd/niceapp/community/model/RankingAppModel;->appId:I

    invoke-static {v4, v5, v3}, Lcom/brixd/niceapp/util/ZMStatisticsUtils;->makeAppRankingClickJson(Ljava/lang/String;II)Lorg/json/JSONObject;

    move-result-object v0

    .line 160
    .local v0, "jo":Lorg/json/JSONObject;
    invoke-static {v0}, Lcom/brixd/niceapp/util/ZMStatisticsUtils;->makeZMLog(Lorg/json/JSONObject;)Ljava/lang/String;

    move-result-object v1

    .line 161
    .local v1, "jsonContent":Ljava/lang/String;
    invoke-static {v2}, Lcom/brixd/niceapp/util/SecrUtils;->makeToken(Lcom/brixd/niceapp/model/UserModel;)Lcom/brixd/niceapp/model/Token;

    move-result-object v4

    invoke-static {v1, v4}, Lcom/brixd/niceapp/service/StatisticsService;->logInfo(Ljava/lang/String;Lcom/brixd/niceapp/model/Token;)V

    .line 162
    return-void

    .line 158
    .end local v0    # "jo":Lorg/json/JSONObject;
    .end local v1    # "jsonContent":Ljava/lang/String;
    .end local v3    # "userId":I
    :cond_1b
    invoke-virtual {v2}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v3

    goto :goto_7
.end method


# virtual methods
.method public getChild(II)Ljava/lang/Object;
    .registers 4
    .param p1, "groupPosition"    # I
    .param p2, "childPosition"    # I

    .prologue
    .line 76
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mRankingAppCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;

    iget-object v0, v0, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;->rankingAppModels:Ljava/util/ArrayList;

    invoke-virtual {v0, p2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getChildId(II)J
    .registers 5
    .param p1, "groupPosition"    # I
    .param p2, "childPosition"    # I

    .prologue
    .line 86
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mRankingAppCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;

    iget-object v0, v0, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;->rankingAppModels:Ljava/util/ArrayList;

    invoke-virtual {v0, p2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/model/RankingAppModel;

    iget v0, v0, Lcom/brixd/niceapp/community/model/RankingAppModel;->appId:I

    int-to-long v0, v0

    return-wide v0
.end method

.method public getChildView(IIZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .registers 16
    .param p1, "groupPosition"    # I
    .param p2, "childPosition"    # I
    .param p3, "isLastChild"    # Z
    .param p4, "convertView"    # Landroid/view/View;
    .param p5, "parent"    # Landroid/view/ViewGroup;

    .prologue
    const v9, 0x7f020029

    const/16 v8, 0x8

    const/4 v7, 0x0

    .line 113
    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mRankingAppCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v3, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;

    .line 114
    .local v2, "rankingAppCategoryModel":Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;
    iget-object v3, v2, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;->rankingAppModels:Ljava/util/ArrayList;

    invoke-virtual {v3, p2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/community/model/RankingAppModel;

    .line 115
    .local v1, "model":Lcom/brixd/niceapp/community/model/RankingAppModel;
    const/4 v0, 0x0

    .line 116
    .local v0, "holder":Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;
    if-nez p4, :cond_73

    .line 117
    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->inflater:Landroid/view/LayoutInflater;

    const v4, 0x7f030029

    invoke-virtual {v3, v4, p5, v7}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p4

    .line 118
    invoke-direct {p0, p4}, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->parseViews(Landroid/view/View;)Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;

    move-result-object v0

    .line 119
    invoke-virtual {p4, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 124
    :goto_29
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->appNameTxt:Landroid/widget/TextView;

    iget-object v4, v1, Lcom/brixd/niceapp/community/model/RankingAppModel;->title:Ljava/lang/String;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 125
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->rankingPosTxt:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    add-int/lit8 v5, p2, 0x1

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 126
    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v4, v1, Lcom/brixd/niceapp/community/model/RankingAppModel;->iconUrl:Ljava/lang/String;

    iget-object v5, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->appIconImage:Landroid/widget/ImageView;

    iget-object v6, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    invoke-virtual {v3, v4, v5, v6}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    .line 128
    iget-object v3, v2, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;->rankingAppModels:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    const/4 v4, 0x1

    if-ne v3, v4, :cond_7a

    if-nez p2, :cond_7a

    .line 129
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->convertView:Landroid/view/View;

    invoke-virtual {v3, v9}, Landroid/view/View;->setBackgroundResource(I)V

    .line 130
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->dividerImage:Landroid/widget/ImageView;

    invoke-virtual {v3, v8}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 141
    :goto_6a
    new-instance v3, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;

    invoke-direct {v3, p0, v2, v1}, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;-><init>(Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;Lcom/brixd/niceapp/community/model/RankingAppModel;)V

    invoke-virtual {p4, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 153
    return-object p4

    .line 121
    :cond_73
    invoke-virtual {p4}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    .end local v0    # "holder":Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;
    check-cast v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;

    .restart local v0    # "holder":Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;
    goto :goto_29

    .line 132
    :cond_7a
    add-int/lit8 v3, p2, 0x1

    iget-object v4, v2, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;->rankingAppModels:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-ne v3, v4, :cond_8f

    .line 133
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->convertView:Landroid/view/View;

    invoke-virtual {v3, v9}, Landroid/view/View;->setBackgroundResource(I)V

    .line 134
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->dividerImage:Landroid/widget/ImageView;

    invoke-virtual {v3, v8}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_6a

    .line 136
    :cond_8f
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->convertView:Landroid/view/View;

    const v4, 0x7f020025

    invoke-virtual {v3, v4}, Landroid/view/View;->setBackgroundResource(I)V

    .line 137
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$ViewHolder;->dividerImage:Landroid/widget/ImageView;

    invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_6a
.end method

.method public getChildrenCount(I)I
    .registers 3
    .param p1, "groupPosition"    # I

    .prologue
    .line 66
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mRankingAppCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;

    iget-object v0, v0, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;->rankingAppModels:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getGroup(I)Ljava/lang/Object;
    .registers 3
    .param p1, "groupPosition"    # I

    .prologue
    .line 71
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mRankingAppCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getGroupCount()I
    .registers 2

    .prologue
    .line 61
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mRankingAppCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getGroupId(I)J
    .registers 4
    .param p1, "groupPosition"    # I

    .prologue
    .line 81
    int-to-long v0, p1

    return-wide v0
.end method

.method public getGroupView(IZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .registers 11
    .param p1, "groupPosition"    # I
    .param p2, "isExpanded"    # Z
    .param p3, "convertView"    # Landroid/view/View;
    .param p4, "parent"    # Landroid/view/ViewGroup;

    .prologue
    .line 96
    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mRankingAppCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v3, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;

    .line 97
    .local v0, "model":Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;
    if-nez p3, :cond_14

    .line 98
    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->inflater:Landroid/view/LayoutInflater;

    const v4, 0x7f03002a

    const/4 v5, 0x0

    invoke-virtual {v3, v4, p4, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p3

    .line 101
    :cond_14
    const v3, 0x7f0a00c9

    invoke-virtual {p3, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 102
    .local v2, "rankingNameTxt":Landroid/widget/TextView;
    const v3, 0x7f0a00c8

    invoke-virtual {p3, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    .line 104
    .local v1, "rankingIconImg":Landroid/widget/ImageView;
    iget-object v3, v0, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;->rankingName:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 105
    const/4 v3, 0x0

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    .line 108
    return-object p3
.end method

.method public hasStableIds()Z
    .registers 2

    .prologue
    .line 91
    const/4 v0, 0x0

    return v0
.end method

.method public isChildSelectable(II)Z
    .registers 4
    .param p1, "groupPosition"    # I
    .param p2, "childPosition"    # I

    .prologue
    .line 176
    const/4 v0, 0x1

    return v0
.end method

.method public setRankingAppCategoryModels(Ljava/util/ArrayList;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 56
    .local p1, "rankingAppCategoryModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;>;"
    iput-object p1, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mRankingAppCategoryModels:Ljava/util/ArrayList;

    .line 57
    return-void
.end method
